package model;

import java.util.Date;

import common.StringUtil;

public class Order {

	private Long oId;

	private String orderid;

	private Integer state;

	private String createrName;

	private String createrPhone;

	private String createrCompany;

	private String createrAddress;

	private String repairContent;

	private String repairAddress;

	private String repairBrands;

	private String repairOrigin;

	private String repairNumber;

	private String repairSystem;

	private String breakDescription;

	private String picShow;

	private String remark;

	private String type;

	private Double price;

	private Date orderTime;

	private Date reserveTime;

	private Date finishTime;

	private Date commentTime;

	private long createUser;

	private long createDate;

	private long updateUser;

	private long updateDate;

	private long create_user_id;
	
	private long order_get_user_id;
	
	private Date order_cancle_date;
	
	private Date order_modify_date;
	
	private String remarkFault;
	
	private Double additionalPrice;
	
	private String cancleOrderUserIds;
	
	private String order_get_user_name;//接单人的姓名
	
	private Date order_get_date;//接单时间

	private String order_get_user_phone;//接单人的电话

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getCreaterName() {
		return createrName;
	}

	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}

	public String getCreaterPhone() {
		return createrPhone;
	}

	public void setCreaterPhone(String createrPhone) {
		this.createrPhone = createrPhone;
	}

	public String getCreaterCompany() {
		return createrCompany;
	}

	public void setCreaterCompany(String createrCompany) {
		this.createrCompany = createrCompany;
	}

	public String getCreaterAddress() {
		return createrAddress;
	}

	public void setCreaterAddress(String createrAddress) {
		this.createrAddress = createrAddress;
	}

	public String getRepairContent() {
		return repairContent;
	}

	public void setRepairContent(String repairContent) {
		this.repairContent = repairContent;
	}

	public String getRepairAddress() {
		return repairAddress;
	}

	public void setRepairAddress(String repairAddress) {
		this.repairAddress = repairAddress;
	}

	public String getRepairBrands() {
		return repairBrands;
	}

	public void setRepairBrands(String repairBrands) {
		this.repairBrands = repairBrands;
	}

	public String getRepairOrigin() {
		return repairOrigin;
	}

	public void setRepairOrigin(String repairOrigin) {
		this.repairOrigin = repairOrigin;
	}

	public String getRepairNumber() {
		return repairNumber;
	}

	public void setRepairNumber(String repairNumber) {
		this.repairNumber = repairNumber;
	}

	public String getRepairSystem() {
		return repairSystem;
	}

	public void setRepairSystem(String repairSystem) {
		this.repairSystem = repairSystem;
	}

	public String getBreakDescription() {
		return breakDescription;
	}

	public void setBreakDescription(String breakDescription) {
		this.breakDescription = breakDescription;
	}

	public String getPicShow() {
		return picShow;
	}

	public void setPicShow(String picShow) {
		this.picShow = picShow;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public long getOrderTime() {
		if(null != orderTime) {
			return orderTime.getTime();
		}else {
			return 0;
		}
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public long getReserveTime() {
		if(null != reserveTime) {
			return reserveTime.getTime();
		}else {
			return 0;
		}
	}

	public void setReserveTime(Date reserveTime) {
		this.reserveTime = reserveTime;
	}

	public long getFinishTime() {
		if(null != finishTime) {
			return finishTime.getTime();
		}else {
			return 0;
		}
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public long getCommentTime() {
		if(null != commentTime) {
			return commentTime.getTime();
		}else {
			return 0;
		}
	}

	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}

	public long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(long createUser) {
		this.createUser = createUser;
	}

	public long getCreateDate() {
		return createDate;
	}

	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}

	public long getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(long updateUser) {
		this.updateUser = updateUser;
	}

	public long getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(long updateDate) {
		this.updateDate = updateDate;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getoId() {
		return oId;
	}

	public void setoId(Long oId) {
		this.oId = oId;
	}

	public long getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(long create_user_id) {
		this.create_user_id = create_user_id;
	}

	public long getOrder_get_user_id() {
		return order_get_user_id;
	}

	public void setOrder_get_user_id(long order_get_user_id) {
		this.order_get_user_id = order_get_user_id;
	}

	public long getOrder_cancle_date() {
		if(null != order_cancle_date) {
			return order_cancle_date.getTime();
		}else {
			return 0;
		}
	}

	public void setOrder_cancle_date(Date order_cancle_date) {
		this.order_cancle_date = order_cancle_date;
	}

	public long getOrder_modify_date() {
		if(null != order_modify_date) {
			return order_modify_date.getTime();
		}else {
			return 0;
		}
	}

	public void setOrder_modify_date(Date order_modify_date) {
		this.order_modify_date = order_modify_date;
	}

	public String getRemarkFault() {
		return remarkFault;
	}

	public void setRemarkFault(String remarkFault) {
		this.remarkFault = remarkFault;
	}

	public Double getAdditionalPrice() {
		return additionalPrice;
	}

	public void setAdditionalPrice(Double additionalPrice) {
		this.additionalPrice = additionalPrice;
	}

	public String getCancleOrderUserIds() {
		return cancleOrderUserIds;
	}

	public void setCancleOrderUserIds(String cancleOrderUserIds) {
		this.cancleOrderUserIds = cancleOrderUserIds;
	}

	public String getOrder_get_user_name() {
		return order_get_user_name;
	}

	public void setOrder_get_user_name(String order_get_user_name) {
		this.order_get_user_name = order_get_user_name;
	}

	public long getOrder_get_date() {
		if(null != order_get_date) {
			return order_get_date.getTime();
		}else {
			return 0;
		}
	}
	
	public String getOrderGetDate() {
		if(null != order_get_date) {
			return StringUtil.DateToString(order_get_date);
		}else {
			return null;
		}
	}

	public void setOrder_get_date(Date order_get_date) {
		this.order_get_date = order_get_date;
	}

	public String getOrder_get_user_phone() {
		return order_get_user_phone;
	}

	public void setOrder_get_user_phone(String order_get_user_phone) {
		this.order_get_user_phone = order_get_user_phone;
	}
	
	
	
	
	
}